<template>
    <div>
        <h2>我是用户</h2>
        <p>{{ userId }}</p>
    </div>
</template>
<script>
export default {
    name: 'user',
    computed: {
        userId(){
            return this.$route.params.userId
        }
    }
}
</script>

<style>

</style>